$.extend($.event.special.swipe, {
    scrollSupressionThreshold: 10, // More than this horizontal displacement, and we will suppress scrolling.
    durationThreshold: 1000, // More time than this, and it isn't a swipe.
    horizontalDistanceThreshold: 30, // Swipe horizontal displacement must be more than this.
    verticalDistanceThreshold: 75, // Swipe vertical displacement must be less than this.
});